﻿using System.Windows;

namespace TimeTracker.Client
{
	/// <summary>
	/// Interaction logic for SplashWindow.xaml
	/// </summary>
	public partial class SplashWindow
	{
		public SplashWindow()
		{
			InitializeComponent();
		}

		private void Window_Loaded( object sender, RoutedEventArgs e )
		{
			var mainWindow = new TimeSheetWindow();

			mainWindow.Show();
			mainWindow.Closed += (sender1,e1) => Application.Current.Shutdown();
			Hide();
		}
	}
}
